package org.jiopi.ibean.kernel.remote;

import org.jiopi.framework.CentralConsole;
import org.jiopi.framework.ControlPanel;
import org.jiopi.framework.ModuleConsole;

public class RemoteCentralConsoleRMIServer{
	
	public static void main(String[] args) throws Exception{
		ControlPanel helloWorld = CentralConsole.accessControlPanel("ibean.module.server.jiopi.rmi", "0.1", "jiopi.blueprint.server", ControlPanel.class);
		helloWorld.operate("start", void.class);
		//ModuleConsole localModule = CentralConsole.accessModuleConsole("example.module.helloworld");
		//localModule.accessControlPanel("example.helloworld", ControlPanel.class).operate("sayHelloWorld", void.class);
		
	}


	
	public String test() {
		// TODO Auto-generated method stub
		System.out.println("Remote RemoteCentralConsoleRMIServer Call");
		return "Remote";
	}
}
